#include "SingletonClass.h"

#include <iostream>

using namespace std;

int main(int argc, char *argv[])
{
    SingletonClass *single1 = SingletonClass::getInstance();
    single1->setValue(1);
    cout << "s1 value: " << single1->getValue() << endl;

    SingletonClass *single2 = SingletonClass::getInstance();
    cout << "s2 value: " << single2->getValue() << endl;
    return 0;
}